package reflectx

import (
	"gitee.com/zhongguo168a/gocodes/datax/schemax"
)

type AnyTypeRef struct {
}

func (f *AnyTypeRef) RefHas(field string) bool {
	return false
}

func (f *AnyTypeRef) RefGet(target IRefObject, AnyType string) (val interface{}, isNil bool) {
	obj := target.(*schemax.AnyType)
	_ = obj
	return nil, true
}

func (f *AnyTypeRef) RefSet(target IRefObject, AnyType string, val interface{}) {
}

func (f *AnyTypeRef) RefNew() IRefObject {
	return &schemax.AnyType{}
}

func (f *AnyTypeRef) RefType() string {
	return "any"
}
